interface JQuery {
    autosize(settings?:autosizeSettings);
}

interface autosizeDelegate { 
    (height: number);
}

interface autosizeSettings { 
    className: string;
    append: string;
    callBack: autosizeDelegate;
}